   angular.module('ionicApp', ['ionic'])

       .controller('SlideController', function($scope) {

           $scope.myActiveSlide = 1;

           var height = window.innerHeight;
           document.getElementById("main").style.height = height + "px";
           // document.getElementById("main").style.height = height + "px";
          window.onresize=function(){
          	    var height = window.innerHeight;
           document.getElementById("main").style.height = height + "px";
          }

          
       })

       